<!-- 首页 -->
<template>
  <div class="home">
    <common-header title="首页"></common-header>
    <div class="home-nav">
      <div class="home-nav-top">
        <i class="iconfont icon-dingwei"></i>
        <h3>严选商城</h3>
        <div class="input">
          <input type="text" placeholder="请输入搜索内容"></input>
          <i class="iconfont icon-sousuo"></i>
        </div>
        <i class="iconfont icon-dianpu"></i>
      </div>
      <div class="home-nav-bottom">

      </div>
    </div>
  </div>
</template>
<style lang="scss">
.home-nav {
  width: 10rem;
  height: 2.3467rem;
  margin-top: 1.1rem;
  background: linear-gradient(#FF6040, #FF8A80);


  .home-nav-top {
    width: 10rem;
    height: 1.0667rem;
    display: flex;
    justify-content: space-around;
    align-items: center;

    .icon-dingwei {
      font-size: .64rem;
      color: #fff;
    }

    h3 {
      font-size: .5867rem;
      font-weight: 500;
      color: #fff;
    }

    .input {
      width: 5.3333rem;
      height: .8rem;
      background-color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      border-radius: .1rem;

      input {
        width: 4.5333rem;
        height: .8rem;
        border: none;
        outline: none;
        font-size: .4rem;
        color: #999;
        padding-left: .4rem;
        border-radius: .1rem;
      }

      .icon-sousuo {
        font-size: .4rem;
        color: #999;
        position: absolute;
        right: .4rem;
      }
    }

    .icon-dianpu {
      font-size: .7467rem;
      color: #fff;
    }
  }

  .home-nav-bottom {
    width: 10rem;
    height: 1.1733rem;
    background-color: #fff;
  }
}
</style>
<script>
import commonHeader from '@/components/common/header.vue'
export default {
  components: {
    commonHeader
  }
}
</script>